package com.shenhua.kunpeng.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Configuration
@ConfigurationProperties(
        prefix = "hikari.main"
)
@Data
public class HikariCofig {

    private String driverClassName;
    private String url;
    private String username;
    private String password;
    private int minimumIdle;
    private int idleTimeout;
    private int maximumPoolSize;
    private int maxLifetime;
    private long connectionTimeout;
    private String connectionTestQuery;

}
